package tld.test.interpreter
{
	public class Printer
	{
		public var handler:Function;
		
		public function Printer(handler:Function = null)
		{
			super();
			this.handler = handler;
		}
		
		public function print(...args):void
		{
			if (this.handler)
				this.handler.apply(null, ["[print] "].concat(args));
		}
	}
}